package com.changzhi.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.changzhi.ldyl.model.ActivityAward;
import com.changzhi.ldyl.model.dto.LoadDto;
import com.changzhi.ldyl.model.vo.UserVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 活动奖励表 Mapper 接口
 * </p>
 *
 * @author 小落
 * @since 2021-12-02
 */
public interface ActivityAwardMapper extends BaseMapper<ActivityAward> {

	List<UserVo> selectAwardList( @Param("activityId") Integer activityId, @Param("limit") Integer limit);

	List<UserVo> selectLastList(@Param("param") LoadDto loadDto);

	List<Integer> selectMyDigRoundIdList(@Param("param") LoadDto loadDto);

	List<ActivityAward> selectMyDigRecord(@Param("param") LoadDto loadDto);

	List<Integer> selectMyRedRoundIdList(@Param("param") LoadDto loadDto);

	List<ActivityAward> selectMyRedRecord(@Param("param") LoadDto loadDto);
}
